package com.ysd.lis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
public class PubReportRules extends BaseEntity implements Serializable {
    //名称
    private String name;
    // 说明
    private String describe;
    //类型(0常规1特殊)
    private String type;
    //报告模板ID
    @Deprecated
    private String reportId;
    //规则
    private String rules;
    //报告单元
    @Deprecated
    private String reportGroupId;
    //优先级
    private String priorityLevel;
    //是否启用
    private String isUse;
    //是否拆分报告
    private String isSplit;
    private String orgId;
    //编码
    private String code;
    //规则类型(规则类型 1 ，2 ，3 ，4 规则格式1 2 3 4；5为特殊报告)
    private String ruleType;

    @TableField("REFER_LIST")
    private String referList;

    @TableField("SELECT_VALUE")
    private String selectValue;

    @TableField(exist = false)
    private String reportName;//报告模板名称
    @TableField(exist = false)
    private String reportGroupName; //仪器组别

    @TableField("RPT_GROUP")
    private String rptGroup;

    @TableField("REPORT_CODE")
    private String reportCode;


    @TableField(exist = false)
    private List<PubRuleDataDto> referDataList;
}
